package com.fanxing.generics;

public class Test05 {

    public static void main(String[] args) {
        G6<String> g6 = new G6<>();
        show(g6);

        G6<Integer> g61 = new G6<>();
        show(g61);
    }

    public static void show(G6<?> g6){
        System.out.println(g6.t);
    }

/*    public static void show1(G6<Integer> g6){
        System.out.println(g6.t);
    }*/
}

class G6<T>{
    T t;
}
